Skip to content

Commit 9f90672

Browse files
committed
Merge branch 'migrate-ci' of https://github.com/LinqLover/Squeak-FileSystem into LinqLover-migrate-ci
2 parents 6d1d891 + 0a95a98 commit 9f90672

File tree

7 files changed

+89
-50
lines changed

7 files changed

+89
-50
lines changed

.github/workflows/notify.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Notify about failed build
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Tests"]
6+
types: [completed]
7+
8+
jobs:
9+
notify:
10+
name: 📣 Notify community on failure
11+
if: ${{ github.event_name == 'schedule' && github.event.workflow_run.conclusion == 'failure' }}
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Send email on failure
15+
if: ${{ github.event_name == 'schedule' && github.event.workflow_run.conclusion == 'failure' }}
16+
uses: dawidd6/action-send-mail@v2
17+
with:
18+
server_address: ${{ secrets.SMTP_SERVER }}
19+
server_port: ${{ secrets.SMTP_PORT }}
20+
username: ${{ secrets.SMTP_USERNAME }}
21+
password: ${{ secrets.SMTP_PASSWORD }}
22+
subject: GitHub Actions failed for ${{ github.repository }}
23+
body: Build job of ${{ github.repository }} failed! See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} for more information.
24+
to: ${{ secrets.MAIL_RECEIVER }}
25+
from: GitHub Actions

.github/workflows/tests.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
schedule:
6+
- cron: '42 2 * * 1' # once a week
7+
workflow_dispatch:
8+
9+
jobs:
10+
test:
11+
strategy:
12+
matrix:
13+
os:
14+
- ubuntu-latest
15+
- macos-latest
16+
- windows-latest
17+
smalltalk:
18+
- Squeak64-trunk
19+
- Squeak64-5.3
20+
- Squeak64-5.2
21+
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
22+
runs-on: ${{ matrix.os }}
23+
steps:
24+
- uses: actions/checkout@v2
25+
- id: smalltalkci
26+
uses: hpi-swa/setup-smalltalkCI@v1
27+
with:
28+
smalltalk-image: ${{ matrix.smalltalk }}
29+
- run: smalltalkci -s ${{ steps.smalltalkci.outputs.smalltalk-image }}
30+
timeout-minutes: 15
31+
env:
32+
# for uploading coverage reports
33+
GITHUB_TOKEN: ${{ github.token }}

.project

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
'srcDirectory' : 'src'
3+
}

.smalltalk.ston

+16-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
SmalltalkCISpec {
2-
#loading : [
3-
SCIMetacelloLoadSpec {
4-
#baseline : 'FileSystem',
5-
#directory : 'src',
6-
#load : [ 'tests' ],
7-
#platforms : [ #squeak ],
8-
#useLatestMetacello : true
9-
}
10-
]
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'FileSystem',
5+
#directory : 'src',
6+
#load : [ 'tests' ],
7+
#platforms : [ #squeak ],
8+
#useLatestMetacello : true
9+
}
10+
],
11+
#testing : {
12+
#packages : [ 'FS-Tests-*' ],
13+
#coverage : {
14+
#packages : [ 'FS-AnsiStreams', 'FS-Core', 'FS-Disk', 'FS-FileDirectory-Adapters', 'FS-Memory' ],
15+
#format : #coveralls
16+
}
17+
}
1118
}

.travis.yml

-10
This file was deleted.

README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# FileSystem [![Build Status][travis_badge]][travis]
1+
# FileSystem
2+
3+
[![Build Status][gha_badge]][gha_jobs]
4+
[![Test coverage][coveralls_badge]][coveralls]
5+
26
FileSystem is a Smalltalk API for accessing files and directories. This is an implementation for Squeak/Smalltalk.
37

48
The FileSystem API was proposed as an alternative to the FileDirectory API for file system access in Squeak. It was first implemented as a library package for Squeak. Later it was adopted by Pharo as the main file system access library, while Squeak stayed with FileDirectory.
@@ -16,10 +20,12 @@ Then, use the following snippet to load:
1620

1721
```smalltalk
1822
Metacello new
19-
baseline: 'FileSystem';
20-
repository: 'github://squeak-smalltalk/squeak-filesystem:master/src';
21-
load.
23+
baseline: 'FileSystem';
24+
repository: 'github://squeak-smalltalk/squeak-filesystem:master/src';
25+
load.
2226
```
2327

24-
[travis]: https://travis-ci.org/j4yk/Squeak-FileSystem
25-
[travis_badge]: https://travis-ci.org/j4yk/Squeak-FileSystem.svg?branch=master
28+
[gha_jobs]: https://github.com/squeak-smalltalk/Squeak-FileSystem/actions/workflows/tests.yml
29+
[gha_badge]: https://github.com/squeak-smalltalk/Squeak-FileSystem/actions/workflows/tests.yml/badge.svg
30+
[coveralls_badge]: https://coveralls.io/repos/github/squeak-smalltalk/Squeak-FileSystem/badge.svg
31+
[coveralls]: https://coveralls.io/github/squeak-smalltalk/Squeak-FileSystem

appveyor.yml

-25
This file was deleted.

0 commit comments

Comments
 (0)