Comments (2)
We now have a really nice document and some starting workflows that you can use to help switch to GitHub Actions: https://github.com/exercism/problem-specifications/tree/master/workflows#workflow-templates
from crystal.
I present below a plausible .github/workflows/tests.yml
file that could be used.
The reason I'm not putting it in a PR is that it doesn't really make sense for me to send it as a PR when there are existing build failures on the track (fetch configlet needs to be fixed, test failures need to be fixed). If the tests for the track get fixed, then I would consider sending the PR.
name: Tests
on:
pull_request:
push:
branches:
- master
- gha
schedule:
# Weekly.
- cron: "0 0 * * 0"
jobs:
track-config:
name: Check track configuration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fetch
run: bin/fetch-configlet
- name: Lint
run: bin/configlet lint .
exercises:
name: Check exercises
runs-on: ubuntu-latest
# idea from https://github.com/actions/starter-workflows/blob/master/ci/crystal.yml
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v2
- name: Run tests
run: make test
from crystal.
Related Issues (20)
- Confusing sentence about method return values HOT 1
- Inconsistent class method names HOT 2
- Blackjack Spec
- [BlackJack]: Inconsistent class methods name HOT 2
- URL to ICR is out of date HOT 7
- Add practices to practice exercises HOT 1
- Crystal Analyzer generated feedback is not visible HOT 2
- [Luhn] Unrelated Time#leap_year? ban in Luhn exercise
- [Meltdown Mitigation] Rename `is_criticality_balanced?` to `criticality_balanced?`
- Building a training set of tags for crystal HOT 23
- Deprecate scale-generator?
- Some possible language/typo corrections to the Library of Luton exercise README HOT 2
- Minor language correction in the Instructions to the Bellebrook Basket League exercise HOT 2
- [New Practice Exercise]: Parallel letter frequency HOT 2
- [New Practice Exercise]: Zebra Puzzle HOT 5
- 🤖 Sync error for commit 8cb214 HOT 8
- On exercise "navigation-computer" - tests are passing even when last task is not implemented HOT 1
- [New Practice Exercise]: Dnd Character HOT 3
- [New Practice Exercise]: Food Chain
- [Create Approach]: List Ops
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crystal.