Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
4e156a5
Test C, Java, TS, Python.
codecop Jan 19, 2021
c8fa889
Add build for PHP.
codecop Jan 19, 2021
8f4ebc5
Add Go build.
codecop Jan 19, 2021
8dc883a
Need a go module.
codecop Jan 19, 2021
641ee5a
Add build to c#, Kotlin.
codecop Jan 19, 2021
3182d2d
Test legacy JS as well.
codecop Apr 22, 2021
bd102b3
Add missing Gradle wrapper to Kotlin.
codecop Apr 22, 2021
4d4672b
Test Clojure.
codecop Apr 22, 2021
4c8942b
Test Scala using SBT
codecop Apr 25, 2021
92b0e41
Test Ruby.
codecop Apr 25, 2021
1eb2682
Test Rust
codecop Apr 25, 2021
145832d
Test Crystal
codecop Apr 25, 2021
efb3d8f
Unify builds, fix warnings, see output
codecop Apr 25, 2021
e5cdb88
Document supported languages,
codecop Apr 25, 2021
ef7b2af
Report all languages using branch name (dynamic, use for a pair on ea…
codecop Apr 26, 2021
d48493c
Add slides to readme.
codecop May 11, 2021
c040b29
swift action first try
ReaSu Dec 18, 2021
24ada6b
trying out swift action
ReaSu Dec 18, 2021
a15ff02
second try
ReaSu Dec 18, 2021
68722e0
changed build and test commands to use xcodebuild
ReaSu Dec 18, 2021
2bb53ab
trying a different approach
ReaSu Dec 18, 2021
8751132
add Package.swift
ReaSu Dec 18, 2021
26e291a
corrected syntax of Package.swift
ReaSu Dec 18, 2021
527e394
trying it with ubuntu
ReaSu Dec 18, 2021
e0923e9
try adding Swift
ReaSu Dec 18, 2021
1fe1a80
change version of used action
ReaSu Dec 18, 2021
a0d22ef
add pwd for debugging purposes
ReaSu Dec 18, 2021
25151b0
change working directory
ReaSu Dec 18, 2021
35a22a3
clean up
ReaSu Dec 19, 2021
2b7b7db
adapt Typescript scripts for mocha-chai and jest
ReaSu Dec 20, 2021
7a3a54e
bring Typescript subfolders to current branch
ReaSu Dec 20, 2021
f347696
Merge branch 'master' into github-build
codecop Dec 20, 2021
79138e9
Separate TS build, add two cpp builds.
codecop Dec 20, 2021
a309e49
Fail test to test workflow.
codecop Dec 20, 2021
2926b4d
Revert "Fail test to test workflow."
codecop Dec 20, 2021
06b81b1
Remove IDEA config, drop lock file, causes problems with different NP…
codecop Dec 11, 2021
f5952d6
Make this branch exact same as master branch. Why is this different?
codecop Dec 20, 2021
1a09960
Merge branch 'github-build' into push-challenge
codecop Dec 20, 2021
d24e94c
Report branch name in new code bases.
codecop Dec 20, 2021
7172e0a
Document new languages.
codecop Dec 20, 2021
8f4230d
Format Swift build job.
codecop Dec 20, 2021
b4de371
Merge branch 'github-build' into push-challenge
codecop Dec 20, 2021
12580db
Fix format of YAML.
codecop Dec 20, 2021
ec19575
Merge branch 'master' into github-build
codecop Dec 22, 2021
18be73b
Merge branch 'github-build' into push-challenge
codecop Dec 22, 2021
515bc5c
Merge branch 'master' into github-build
codecop Dec 25, 2021
835bc2c
Build bash on github
codecop Dec 25, 2021
53172f5
Tweak Smoke invocation.
codecop Dec 25, 2021
a677c6b
Tweak again.
codecop Dec 25, 2021
1656e5c
Remove debug from build.
codecop Dec 25, 2021
4f10055
Fail test to test workflow.
codecop Dec 25, 2021
91e1053
Revert "Fail test to test workflow."
codecop Dec 25, 2021
36ba835
Merge branch 'github-build' into push-challenge
codecop Dec 25, 2021
88b96a0
Add Bash to supported languages in the challenge.
codecop Dec 25, 2021
6b2f783
whitespace change
May 31, 2023
2071478
doc(readme): add instructions on readme on how to start
bastiendavid May 31, 2023
2053ec1
doc(readme): add dashboard URL
bastiendavid May 31, 2023
921675f
Moving european speed
tibk Jun 1, 2023
c11a743
African speed
tibk Jun 1, 2023
90842a5
Norwegian speed
tibk Jun 1, 2023
ae300f8
try build python
bastiendavid Jun 1, 2023
41511c5
First commit
tibk Jun 1, 2023
17c3423
European parrot class
tibk Jun 1, 2023
3626c5a
Norwegian parrot class
tibk Jun 1, 2023
87a92d3
Migrating norwegian speed
tibk Jun 1, 2023
20880af
Migrating african speed
tibk Jun 1, 2023
b98e64e
Remove african type speed
tibk Jun 1, 2023
a44a14d
Remove norwegian speed
tibk Jun 1, 2023
55c6f23
Remove parrot type
tibk Jun 1, 2023
e087fff
Using test framework
tibk Jun 1, 2023
0e95644
Assert parrot raises valueerror
tibk Jun 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/Bash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test Bash

on:
push:
paths:
- 'Bash/**'
- '.github/workflows/Bash.yml'
pull_request:
paths:
- 'Bash/**'
- '.github/workflows/Bash.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up dependencies
working-directory: Bash
run: |
wget -nv https://github.com/SamirTalwar/smoke/releases/download/v2.3.0/smoke-v2.3.0-Linux-x86_64
chmod 755 smoke-v2.3.0-Linux-x86_64
mv smoke-v2.3.0-Linux-x86_64 smoke

- name: Test
working-directory: Bash
run: |
export PATH=$PATH:$(pwd)
./run_tests.sh

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
37 changes: 37 additions & 0 deletions .github/workflows/C.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test C

on:
push:
paths:
- 'C/**'
- '.github/workflows/C.yml'
pull_request:
paths:
- 'C/**'
- '.github/workflows/C.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up dependencies
run: |
sudo apt-get update
sudo apt-get install libcmocka-dev

- name: Build
working-directory: C
run: gcc -std=c99 Parrot.c ParrotTest.c -l cmocka -o ParrotTest

- name: Test
working-directory: C
run: ./ParrotTest

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
41 changes: 41 additions & 0 deletions .github/workflows/CSharp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Test CSharp

on:
push:
paths:
- 'CSharp/**'
- '.github/workflows/CSharp.yml'
pull_request:
paths:
- 'CSharp/**'
- '.github/workflows/CSharp.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.0.x

- name: Set up dependencies
working-directory: CSharp
run: dotnet restore

- name: Build
working-directory: CSharp
run: dotnet build --no-restore

- name: Test
working-directory: CSharp
run: dotnet test --no-build --verbosity normal

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
44 changes: 44 additions & 0 deletions .github/workflows/Clojure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Test Clojure

on:
push:
paths:
- 'Clojure/**'
- '.github/workflows/Clojure.yml'
pull_request:
paths:
- 'Clojure/**'
- '.github/workflows/Clojure.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Set up Clojure
uses: DeLaGuardo/setup-clojure@3.2
with:
lein: latest
- name: Cache lein
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-lein-${{ hashFiles('Clojure/project.clj') }}
restore-keys: ${{ runner.os }}-lein

- name: Build and test
working-directory: Clojure
run: lein midje

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
31 changes: 31 additions & 0 deletions .github/workflows/Crystal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test Crystal

on:
push:
paths:
- 'Crystal/**'
- '.github/workflows/Crystal.yml'
pull_request:
paths:
- 'Crystal/**'
- '.github/workflows/Crystal.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up Crystal
uses: oprypin/install-crystal@v1

- name: Test
working-directory: Crystal
run: crystal spec

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
33 changes: 33 additions & 0 deletions .github/workflows/Go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test Go

on:
push:
paths:
- 'Go/**'
- '.github/workflows/Go.yml'
pull_request:
paths:
- 'Go/**'
- '.github/workflows/Go.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.14

- name: Test
working-directory: Go
run: go test -v

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
39 changes: 39 additions & 0 deletions .github/workflows/Java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Test Java

on:
push:
paths:
- 'Java/**'
- '.github/workflows/Java.yml'
pull_request:
paths:
- 'Java/**'
- '.github/workflows/Java.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('Java/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Build and test
working-directory: Java
run: mvn -B test

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
37 changes: 37 additions & 0 deletions .github/workflows/JavaScript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test JavaScript

on:
push:
paths:
- 'JavaScript/**'
- '.github/workflows/JavaScript.yml'
pull_request:
paths:
- 'JavaScript/**'
- '.github/workflows/JavaScript.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 15.x

- name: Set up dependencies
working-directory: JavaScript
run: npm install

- name: Test
working-directory: JavaScript
run: npm test

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
41 changes: 41 additions & 0 deletions .github/workflows/Kotlin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Test Kotlin

on:
push:
paths:
- 'Kotlin/**'
- '.github/workflows/Kotlin.yml'
pull_request:
paths:
- 'Kotlin/**'
- '.github/workflows/Kotlin.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache gradle wrapper
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('Kotlin/**/*.gradle*', 'Kotlin/**/gradle-wrapper.properties') }}
restore-keys: ${{ runner.os }}-gradle

- name: Build and test
working-directory: Kotlin
run: ./gradlew clean test -i

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
37 changes: 37 additions & 0 deletions .github/workflows/LegacyJavaScript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test LegacyJavaScript

on:
push:
paths:
- 'LegacyJavaScript/**'
- '.github/workflows/LegacyJavaScript.yml'
pull_request:
paths:
- 'LegacyJavaScript/**'
- '.github/workflows/LegacyJavaScript.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x

- name: Set up dependencies
working-directory: LegacyJavaScript
run: npm install

- name: Test
working-directory: LegacyJavaScript
run: npm test

- name: Report using branch name (dynamic, use for a pair on each branch)
run: |
export GIT_BRANCH_NAME=$(git symbolic-ref --short HEAD)
export GIT_BRANCH_NAME=$( echo "$GIT_BRANCH_NAME" | sed 's/ /%20/g' )
curl -X GET ${{ secrets.PUSH_COUNTER_URL }}/record/$GIT_BRANCH_NAME?build=green
Loading